import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 导入重置样式
import 'normalize.css'
import '@/styles/common.less'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 导入自定义插件对象
import Components from './components/index'

// 链式的调用，注册插件
const app = createApp(App)
app.use(Components)
app.use(ElementPlus)
app.use(store).use(router).mount('#app')
